from django.db import models
from django.contrib.auth.models import User,Group,Permission
# Create your models here.
# 用户属性添加
class Profile(models.Model):
    user = models.OneToOneField(User)
    name = models.CharField("中文名",max_length=20)
    phone = models.CharField("手机号",max_length=20)
    qq = models.CharField("企业qq",max_length=20)

#
# class MachineRoom(models.Model):
#     room_name = models.CharField()
#     address = models.CharField()
#     watchkeeper = models.CharField()
#
#
# class Cabinet(models.Model):
#     machine_room = models.ForeignKey(
#         'MachineRoom',
#         on_delete=models.CASCADE,
#     )
#     cabinet_number = models.CharField()
#
#
# class Server(models.Model):
#     pass
#
